package com.qf.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 2020/1/7
 * 键盘敲烂，月薪过万
 * 登高必自卑，行远必自迩。
 * 不忘初心：像初学者一样拥有一颗谦虚、开放的心态。
 * 李学峰
 */
public class Testlxf {
    private Integer id;
    private String course;
    private String tname;
    private String site;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    private String state;

    @Override
    public String toString() {
        return "Testlxf{" +
                "id=" + id +
                ", course='" + course + '\'' +
                ", tname='" + tname + '\'' +
                ", site='" + site + '\'' +
                ", time=" + time +
                ", state='" + state + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Testlxf() {
    }

    public Testlxf(Integer id, String course, String tname, String site, Date time, String state) {
        this.id = id;
        this.course = course;
        this.tname = tname;
        this.site = site;
        this.time = time;
        this.state = state;
    }
}
